home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / LIBRARY / OGRID110 / DEMOEQU.PAS < prev    next >
Pascal/Delphi Source File  |  1995-06-01  |  5KB  |  143 lines

  1. {*****************************************************************************
  2.  
  3.   OOGrid Library(TM) for Borland/Turbo Pascal (Real Mode/TV)
  4.   Copyright (C) 1994, 1995 by Arturo J. Monge
  5.   Portions Copyright (C) 1989,1990 Borland International, Inc.
  6.  
  7.   OOGrid Library(TM) Demo Equates Unit:
  8.     Definition of command, help context, and string indexes constants.
  9.     Used by DEMO_GL.PAS.
  10.  
  11.   Last Modification : December 29th, 1994
  12.  
  13. *****************************************************************************}
  14.  
  15. unit DemoEqu;
  16.  
  17. {****************************************************************************}
  18.                                  interface
  19. {****************************************************************************}
  20.  
  21. { Remember that commands used by the TSpreadSheet object are initially
  22.   set to have values starting at 200 and that help contexts used by the
  23.   TSpreadSheet object are initially set to have values starting at 100.
  24.   To modify this values for use in you application, you must modify
  25.   the GLEquate unit (see GLEQUATE.PAS). }
  26.  
  27. const
  28.  
  29. { Commands }
  30.  
  31.   cmOpen          = 100;
  32.   cmSave          = 101;
  33.   cmSaveAs        = 102;
  34.   cmCloseAll      = 103;
  35.   cmRefresh       = 104;
  36.   cmDosShell      = 105;
  37.   cmList          = 106;
  38.   cmVideoMode     = 107;
  39.   cmDeleteWin     = 108; { Used by TWindowList internally }
  40.   cmLoadTypes     = 109;
  41.   cmLoadFunctions = 110;
  42.   cmLoadList1     = 111;
  43.   cmLoadList2     = 112;
  44.   cmLoadErrors    = 113;
  45.   cmLoadDataEntry = 114;
  46.   cmAbout         = 115;
  47.   cmAuthorInfo    = 116;
  48.   cmRegister      = 117;
  49.   cmChDir         = 118;
  50.  
  51. const
  52.  
  53. { Help contexts }
  54.  
  55.   hcDeleteWin        = 6; { hc of the window list's Delete button }
  56.   hcWinList          = 7; { hc of the window list's list box }
  57.   hcWinListDlgHelp   = 8; { hc of the window list dialog }
  58.   hcFileMenu         = 9;
  59.   hcNewSheet         = 10;
  60.   hcOpen             = 11;
  61.   hcSave             = 12;
  62.   hcSaveAs           = 13;
  63.   hcPrintSheet       = 14;
  64.   hcClose            = 15;
  65.   hcCloseAll         = 16;
  66.   hcDosShell         = 17;
  67.   hcQuit             = 18;
  68.   hcEditMenu         = 19;
  69.   hcGoto             = 20;
  70.   hcEditCell         = 21;
  71.   hcCopy             = 22;
  72.   hcMove             = 23;
  73.   hcClear            = 24;
  74.   hcPaste            = 25;
  75.   hcSpreadSheetMenu  = 26;
  76.   hcFormatCells      = 27;
  77.   hcRecalc           = 28;
  78.   hcToggleAutocalc   = 29;
  79.   hcToggleFormulas   = 30;
  80.   hcToggleHeaders    = 31;
  81.   hcProtectionMenu   = 32;
  82.   hcToggleProtection = 33;
  83.   hcSetUnlocked      = 34;
  84.   hcSetLocked        = 35;
  85.   hcColumnMenu       = 36;
  86.   hcInsertColumns    = 37;
  87.   hcDeleteColumns    = 38;
  88.   hcChangeColWidth   = 39;
  89.   hcChangeHeaders    = 40;
  90.   hcDeleteHeaders    = 41;
  91.   hcRowMenu          = 42;
  92.   hcInsertRows       = 43;
  93.   hcDeleteRows       = 44;
  94.   hcSortData         = 45;
  95.   hcWindowMenu       = 46;
  96.   hcTile             = 47;
  97.   hcCascade          = 48;
  98.   hcVideoMode        = 49;
  99.   hcList             = 50;
  100.   hcZoom             = 51;
  101.   hcResize           = 52;
  102.   hcNext             = 53;
  103.   hcPrev             = 54;
  104.   hcLoadLicense      = 55;
  105.   hcLoadTypes        = 56;
  106.   hcLoadFunctions    = 57;
  107.   hcLoadList1        = 58;
  108.   hcLoadList2        = 59;
  109.   hcLoadErrors       = 60;
  110.   hcLoadDataEntry    = 61;
  111.   hcLoadOOGL2        = 62;
  112.   hcExampleFilesMenu = 63;
  113.   hcRefresh          = 64;
  114.   hcInfoMenu         = 65;
  115.   hcAbout            = 66;
  116.   hcAuthorInfo       = 67;
  117.   hcRegister         = 68;
  118.   hcInfoDialog       = 69;
  119.   hcChDir            = 70;
  120.   hcFormatDefault    = 71;
  121.  
  122. const
  123.  
  124. { String list key ID's }
  125.  
  126.   sHelpAccessError   = 72; { 'Could not open help file.' }
  127.   sNoMemError        = 73; { 'There is not enough memory to continue operation.' }
  128.   sShellMsg          = 74; { 'Type EXIT to return to application...' }
  129.   sNoNameFileName    = 75; { 'NONAME' }
  130.   sMaxFilesOpenError = 76; { 'Cannot open more files!' }
  131.   sFileNotFound      = 77; { 'File not found.' }
  132.   sInvalidFormat     = 78; { 'The file does not have a valid format.' }
  133.   sAccessError       = 79; { 'An error ocurred while accessing the file.' }
  134.   sCreateStreamError = 80; { 'Could not create file.' }
  135.   sSaveError         = 81; { 'Error while saving file.' }
  136.   sLoadMessage       = 82; { 'Loading file... please wait.' }
  137.   sSaveMessage       = 83; { 'Saving file... please wait.' }
  138.  
  139. {****************************************************************************}
  140.                                implementation
  141. {****************************************************************************}
  142.  
  143. end. {...DemoEqu unit }